package com.tianpengtech.common.model.moneylog;
import com.tianpengtech.common.model.AbstractBaseModel;
/**
 *实体类名-网红收益纪录表
 * fair_wh_moneylog
 *
 * @since Thu Jul 20 21:03:16 CST 2017
 */
public class MoneyLog extends AbstractBaseModel< MoneyLog > {

	/**
	 *
	 */
	private static final long serialVersionUID = 1L;
	public static final MoneyLog dao = new MoneyLog();


		public static final String ID ="id"; //
		public static final String WH_ID ="wh_id"; //网红ID
		public static final String CREATE_TIME ="create_time"; //创建时间
		public static final String MONEY ="money"; //金额
		public static final String DELETETAG ="deletetag"; //删除标识
		public static final String DESCRIPTION ="description"; //描述
		public static final String TYPE ="type"; //类型
		public static final String OPERID ="operid"; //关联ID
		public static final String STATE ="state"; //金额增加还是减少


	public static final Integer TYPE_TIXIAN =1; //提现 operid=提现表ID
	public static final Integer TYPE_YAOQING =2; //邀请 operid=被邀请用户ID
	public static final Integer TYPE_RENWU =3;	//任务 operid=任务ID

	public static final Integer STATE_ADD =1;	//金额增加
	public static final Integer STATE_REDUCE =2;	//金额减少



	@Override
	public String tableName() {
		return "fair_wh_moneylog";
	}

}